Update dependency jupyter-server to v2.20.0 [SECURITY]#295
Merged
Conversation
mishushakov
approved these changes
Jun 22, 2026
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==2.18.0→==2.20.0Jupyter Server: Stored XSS in
NbconvertFileHandler/NbconvertPostHandlervia missingsandboxCSPCVE-2026-44727 / GHSA-fcw5-x6j4-ccmp
More information
Details
The nbconvert HTTP handlers in jupyter_server render user-authored notebook HTML under the Jupyter origin without a sandbox directive in their
Content-Security-Policy.Combined with
nbconvert.HTMLExporter's default non-sanitizing behavior, a notebook carrying an HTML payload in a display_data output triggers stored XSS with cookie access, full /api/* authority, and kernel RCE.Impact
An authenticated victim who navigates to
/nbconvert/html/<path>containing attacker-authored output can have their token exfiltrated to another domain because it is executed in the Jupyter origin.Patches
Fixed in v2.20.0, commit 6cbee8d
Workarounds
For deployments where editing the installed jupyter_server is impractical (containerized builds, read-only images), adding this to jupyter_server_config.py has the same effect as the patch above without touching source files:
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
jupyter-server/jupyter_server (jupyter-server)
v2.20.0Compare Source
(Full Changelog)
Enhancements made
Bugs fixed
bind_socketsin case its different #1651 (@choldgraf, @krassowski)Maintenance and upkeep improvements
test_authorizerhaving a spurious comma in params #1664 (@krassowski)pywinpty3.0.4 version #1658 (@krassowski)Documentation improvements
Contributors to this release
The following people contributed discussions, new ideas, code and documentation contributions, and review.
See our definition of contributors.
(GitHub contributors page for this release)
@Carreau (activity) | @choldgraf (activity) | @Copilot (activity) | @ianthomas23 (activity) | @krassowski (activity) | @minrk (activity) | @Yann-P (activity)
v2.19.0Compare Source
(Full Changelog)
Enhancements made
unresolvedstanza when kernel scope is unavailable forresolvePath(instead of failing with 404) #1641 (@MUFFANUJ, @Carreau, @krassowski)Bugs fixed
Maintenance and upkeep improvements
Other merged PRs
Contributors to this release
The following people contributed discussions, new ideas, code and documentation contributions, and review.
See our definition of contributors.
(GitHub contributors page for this release)
@Carreau (activity) | @ianthomas23 (activity) | @krassowski (activity) | @minrk (activity) | @MUFFANUJ (activity) | @terminalchai (activity) | @Zsailer (activity)
v2.18.2Compare Source
(Full Changelog)
Bugs fixed
root_diris a filesystem root #1636 (@Yann-P, @krassowski)Maintenance and upkeep improvements
Contributors to this release
The following people contributed discussions, new ideas, code and documentation contributions, and review.
See our definition of contributors.
(GitHub contributors page for this release)
@brichet (activity) | @Carreau (activity) | @krassowski (activity) | @Yann-P (activity)
v2.18.1Compare Source
(Full Changelog)
Bugs fixed
kernel_inforequests #1632 (@krassowski, @Copilot, @jtpio, @tonyx93)Contributors to this release
The following people contributed discussions, new ideas, code and documentation contributions, and review.
See our definition of contributors.
(GitHub contributors page for this release)
@Copilot (activity) | @jtpio (activity) | @krassowski (activity) | @tonyx93 (activity)
Configuration
📅 Schedule: (in timezone UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.